Working with ClearCase in SNiFF+

Accessing ClearCase commands using the ClearCase custom menu
A custom menu called ClearCase is available in SNiFF+'s Project Editor. With it, you can invoke ClearCase commands to do such things as:

- listing versions
- listing checkouts
- listing history
- displaying version tree

Activating the ClearCase custom menu
The ClearCase custom menu is predefined for the Project Editor in the site-wide custom menu file SiteMenus.sniff.

- On Unix --

SiteMenus.sniff is located in $SNIFF_DIR/config/
- On Windows NT --
SiteMenus.sniff is located in %SNIFF_DIR%\config\
By default, the ClearCase custom menu is disabled. To enable it:

Open

SiteMenus.sniff in an editor.
Search for the following line in the PROJECT EDITOR section of the file:
# ClearCase Menus
Starting with the next line, remove all leading hash ( # ) characters from it and the following lines in the PROJECT EDITOR section of the file.
Save SiteMenus.sniff .
The ClearCase custom menu will be accessible the next time you start SNiFF+. If required, additional commands can easily be added on to the custom menu. For details, please refer to Custom menus.
Changing View's config spec in current SNiFF+ session
You can change a View's config spec in ClearCase while working on projects opened in the corresponding PWE. You can then use the ClearCase custom menu in SNiFF+ for viewing the config specs and starting the appropriate ClearCase GUI for your platform ( xclearcase or cleardetails ).
Note that changing your View's config spec may result in a change in the project structure that you can "see" through the View. Therefore, in order for the View and its corresponding SNiFF+ PWE to reflect the most current information as defined in its config spec, reload all current projects opened in the PWE.
You can reload projects using the command Project > Reload Project > In Current Working Environment in either the Project Editor or the Launch Pad.
Changing Views in current SNiFF+ session
In ClearCase, you may want to access data visible in other Views. SNiFF+ allows you to change your ClearCase View during a single session.
Changing a ClearCase View corresponds to reloading the current project in the working environment that corresponds to the new View.
To change Views during a single SNiFF+ session, we recommend that the root directories of the PWEs that you create for the Views point to the view-extended full pathname of the View. By using extended pathnames, you can use other Views active on your host without first having to "set" them.
For example, suppose three Views -- your_view , bill and john -- are active, and:

/vobs/design/src/msg.c specifies the version of an element selected by your View
/view/bill/vobs/design/src/msg.c specifies the version of the same element selected by the View bill
/view/john/vobs/design/src/msg.c specifies the version of the same element selected by the View john
Furthermore, suppose the current project is open in the PWE corresponding to View bill , and you want to change the View to john . To do so, just reload the project in the PWE that corresponds to john .
To reload projects in another working environment, use the command Project > Reload Project > In Other Working Environment in either the Project Editor or the Launch Pad.